package com.atguigu.spring5.dynamicProxy;

public class UserDaoImpl implements UserDao {
    @Override
    public int add(int a, int b) {
        System.out.println(String.format("add 方法执行，传入参数为%s,%s",a,b));
        return a + b;
    }

    @Override
    public String update(String id) {
        System.out.println(String.format("update 方法执行，传入参数为%s",id));
        return id;
    }
}
